package com.eascs.workflow.processAuthorization.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "process_auth")
@NamedQuery(name = "ProcessAuth.findAll", query = "SELECT c FROM ProcessAuth c")
public class ProcessAuth implements Serializable {

	/** 属性名称 */
	private static final long serialVersionUID = -5536326982568792477L;

	@Column(name = "id")
	@Id
	private String id;
	@Column(name = "process_main")
	private String processMain;
	@Column(name = "process_main_code")
	private String processMainCode;
	@Column(name = "process_less")
	private String processLess;
	@Column(name = "process_less_code")
	private String processLessCode;
	@Column(name = "roll_outer_name")
	private String rollOuterName;
	@Column(name = "roll_outer_code")
	private String rollOuterCode;
	@Column(name = "roll_iner_name")
	private String rollInerName;
	@Column(name = "roll_iner_code")
	private String rollInerCode;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "auth_bigin_date")
	private Date authBeginDate;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "auth_end_date")
	private Date authEndDate;
	@Column(name = "auth_status")
	private String authStatus;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_date")
	private Date createDate;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_date")
	private Date updateDate;
	@Column(name = "creator")
	private String creator;
	@Column(name = "updator")
	private String updator;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProcessMain() {
		return processMain;
	}

	public void setProcessMain(String processMain) {
		this.processMain = processMain;
	}

	public String getProcessMainCode() {
		return processMainCode;
	}

	public void setProcessMainCode(String processMainCode) {
		this.processMainCode = processMainCode;
	}

	public String getProcessLess() {
		return processLess;
	}

	public void setProcessLess(String processLess) {
		this.processLess = processLess;
	}

	public String getProcessLessCode() {
		return processLessCode;
	}

	public void setProcessLessCode(String processLessCode) {
		this.processLessCode = processLessCode;
	}

	public String getRollOuterName() {
		return rollOuterName;
	}

	public void setRollOuterName(String rollOuterName) {
		this.rollOuterName = rollOuterName;
	}

	public String getRollOuterCode() {
		return rollOuterCode;
	}

	public void setRollOuterCode(String rollOuterCode) {
		this.rollOuterCode = rollOuterCode;
	}

	public String getRollInerName() {
		return rollInerName;
	}

	public void setRollInerName(String rollInerName) {
		this.rollInerName = rollInerName;
	}

	public String getRollInerCode() {
		return rollInerCode;
	}

	public void setRollInerCode(String rollInerCode) {
		this.rollInerCode = rollInerCode;
	}

	public Date getAuthBeginDate() {
		return authBeginDate;
	}

	public void setAuthBeginDate(Date authBeginDate) {
		this.authBeginDate = authBeginDate;
	}

	public Date getAuthEndDate() {
		return authEndDate;
	}

	public void setAuthEndDate(Date authEndDate) {
		this.authEndDate = authEndDate;
	}

	public String getAuthStatus() {
		return authStatus;
	}

	public void setAuthStatus(String authStatus) {
		this.authStatus = authStatus;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

}
